# Maintainer:  Federico Cinelli <cinelli@aur.archlinux.org>
# Contributor: Johannes Martin <honzor@gmx.net>
# Contributor: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=gputils
pkgver=1.5.2
_tag=$pkgver-1
pkgrel=1
pkgdesc="PIC Programming Utilities"
arch=('loong64' 'x86_64')
url="http://gputils.sourceforge.net/"
license=('GPL')
depends=('glibc')
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('9495688c1cdcfd75bf4570ec50fad52d')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}
